﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:Common="clr-namespace:Snipps.Infrastructure"
                    xmlns:AttachedProperties="clr-namespace:Snipps.Infrastructure.AttachedProperties">

    <ResourceDictionary.MergedDictionaries>
        <Common:SharedResourceDictionary Source="/Snipps;component/Resources/BaseControlStyles/TextBoxStyle.xaml" />
    </ResourceDictionary.MergedDictionaries>

    <Style x:Key="ContentTextBoxStyle"
           BasedOn="{StaticResource {x:Type TextBox}}"
           TargetType="{x:Type TextBox}">

        <Setter Property="AttachedProperties:SetLastCaretIndexBehavior.IsEnabled" Value="False" />
        <Setter Property="FontSize" Value="{DynamicResource TextFontSize}" />
        <Setter Property="VerticalScrollBarVisibility" Value="Auto" />
        <Setter Property="HorizontalScrollBarVisibility" Value="Auto" />
    </Style>
</ResourceDictionary>